﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;

namespace Pro.Common.OperationalManager
{
    public sealed class ManagementHelper
    {
        public static string GetConnectionString()
        {
            return ConfigurationManager.ConnectionStrings["default"].ConnectionString;
        }

        public static string GetConnectionString(string nameConnection)
        {
            return ConfigurationManager.ConnectionStrings[nameConnection].ConnectionString;
        }
    }
}
